package com.njtoyo.taxi.admin.service.business.operation_rule;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.njtoyo.taxi.admin.mapper.master.entity.RealtimeCallRule;
import com.njtoyo.taxi.admin.rest.presenter.business.operation_rule.RealTimeCallRulePresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.operation_rule.RealTimeCallRuleUpdateWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.operation_rule.RealTimeCallRuleWrapper;
import com.njtoyo.taxi.entity.backend.AdminUser;
import com.taxi.entity.common.RestResult;

/**
 * @author mdf
 * @title: RealtimeCallRuleService
 * @description: TODO
 * @date 2024/11/13 11:35
 */
public interface RealtimeCallRuleService {
//    RestResult getDetail();
//
//    RestResult update(RealTimeCallRulePresenter realTimeCallRulePresenter);

    IPage<RealTimeCallRuleWrapper> getPage(Integer current, Integer size, String driverRegionName);

    RestResult getDetail(Long id);

    RestResult updateById(AdminUser adminUser,RealTimeCallRuleUpdateWrapper wrapper);
}
